package com.zhenming.mirror.Bean;


import com.zhenming.mirror.util.CodeEnum;

/**
 *
 * @author jisx
 * @date 2017/7/20
 */
public class ResultBean {

    int code;

    String message;

    private Object content;

    public ResultBean(CodeEnum codeEnum, Object content) {
        this.code = codeEnum.getCode();
        this.message = codeEnum.getMessage();
        this.content = content;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getContent() {
        return content;
    }

    public void setContent(Object content) {
        this.content = content;
    }
}
